<template>
  <!-- 私人助理 -->
  <div class="Principal">
    <header>
      <div class="return" @click="returns">
        <i class="iconfont icon-zuojiantou"></i>
      </div>
      <div class="title">我的助理</div>
    </header>
    <main>
      <van-search v-model="value" placeholder="有问题点我搜索" />
      <div class="customer">
        <div class="customer_1">
          <p>您好</p>
          <p>我是你的私人助理</p>
        </div>
        <div class="customer_2">
          <img src="../../assets/img/kefu.jpg" alt="" />
        </div>
      </div>
      <div class="issue">
        <van-row justify="space-between">
          <van-col span="14">你可能遇到的问题</van-col>
          <van-col span="10">更多</van-col>
        </van-row>
        <ul>
          <li class="issue1">
            <div class="issue1_1">
              <van-grid>
                <van-icon class="iconfont icon-fangzi" color="#ff5654">
                </van-icon>
              </van-grid>
              <span>找房问题</span>
            </div>
            <div class="issue1_2">
              <p>宜居有短租房源吗</p>

              <p>如何快速找到房</p>
            </div>
          </li>
        </ul>
        <ul>
          <li class="issue1">
            <div class="issue1_1">
              <van-grid>
                <van-icon class="iconfont icon-dingdan" color="#ff5654">
                </van-icon>
              </van-grid>
              <span>找房问题</span>
            </div>
            <div class="issue1_2">
              <p>宜居有短租房源吗</p>

              <p>如何快速找到房</p>
            </div>
          </li>
        </ul>
        <ul>
          <li class="issue1">
            <div class="issue1_1">
              <van-grid>
                <van-icon class="iconfont icon-tianjiabanjia" color="#ff5654">
                </van-icon>
              </van-grid>
              <span>找房问题</span>
            </div>
            <div class="issue1_2">
              <p>宜居有短租房源吗</p>

              <p>如何快速找到房</p>
            </div>
          </li>
        </ul>
      </div>
    </main>
    <footer>
      <div class="buttons">
        <van-button type="default">我的助理</van-button>
        <van-button type="default">投诉</van-button>
      </div>
    </footer>
  </div>
</template>

<script>
export default {
  data() {
    return {
      
    };
  },
     methods:{
  //跳转
     returns(){
         this.$router.push('/my')
     }
  }
};
</script>

<style lang="less" scoped>
.Principal {
  background: #f2f2f2;
  header {
    width: 100%;
    height: 88px;
    background-color: #ff5654;
    display: flex;
    .return {
      margin-left: 20px;
      i {
        color: #fff;
        font-size: 34px;
        line-height: 88px;
      }
    }
    .title {
      padding: 0 250px;
      color: #fff;
      font-size: 36px;
      line-height: 88px;
    }
  }
  main {
    padding-top: 20px;
    background-color: #f2f2f2;
        margin-bottom: 218px;
    .van-search {
      width: 550px;
      margin: 0 auto;

      padding: 0;
    }
    .customer {
      margin: 20px 40px 0 40px;
      background-color: #fff;
      display: flex;
      p {
        margin: 0;
        font-size: 32px;
      }

      .customer_1 {
        margin: 60px 116px 60px 40px;
      }
      .customer_2 {
        margin: auto;
        img {
          width: 140px;
          border-radius: 50%;
        }
      }
    }
    .issue {
      margin: 40px 40px 0 40px;

      .van-row {
        font-size: 32px;
        height: 80px;
        line-height: 80px;
        background-color: #fff;
      }
      .van-col--10 {
        text-align: right;
      }
      .van-col--14 {
        padding-left: 20px;
      }
      .issue1 {
        display: flex;

        margin: 3px 0;
        p {
          margin: 0;
          border: 1px solid #f2f2f2;
          width: 502px;
          height: 80px;
          font-size: 32px;
        }
        .icon-fangzi,
        .icon-dingdan,
        .icon-tianjiabanjia {
          font-size: 80px;
          margin: 24px 40px 0 44px;
        }

        .issue1_1 {
          text-align: center;
          background-color: #fff;
          span {
            font-size: 15px;
          }
        }
        .issue1_2 {
          background-color: #fff;
          margin-left: 3px;

          p {
            text-indent: 1em;
            line-height: 80px;
          }
        }
      }
    }
  }
  .buttons {
    display: flex;
    .van-button--default {
      width: 50%;
    }

    .van-button--default:nth-child(1) {
      color: #fff;
      background-color: #ff5555;
    }
      .van-button--default:nth-child(2) {
      color: #605e5f;
      background-color: #c5c3c4;
    }
  }
}
</style>